package com.can.reggie.dto;

import com.can.reggie.entity.Dish;
import com.can.reggie.entity.DishFlavor;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;

/*
* 页面传过来的数据,既有dish 也有dishflavor,所以定义一个dto,包含所需要的全部接收对象
* */

@Data
public class DishDto extends Dish {

    private List<DishFlavor> flavors = new ArrayList<>();

    private String categoryName;

    private Integer copies;
}
